import {createRouter, createWebHistory} from "vue-router";

const routes = [
    {
        path:'/',
        component: import('@/views/Login.vue'),
        meta: {
            title:"登录页面",
            transition:"animate__fadeIn"
        }
    },
    {
        path:'/index',
        component: import('@/views/Index.vue'),
        meta: {
            title:"首页",
            transition: "animate__bounceIn"
        }
    }
]

const router = createRouter({
    history: createWebHistory(),
    routes
})

export default router